种子音乐[音].js 1.0 KB

123456789101112131415161718192021222324252627282930
  1. var rule = {
  2. title: '种子音乐[听]',
  3. host: 'https://www.zz123.com',
  4. homeUrl: '/list/mszm.htm?page=1',
  5. url: '/fyclass.htm?page=fypage',
  6. searchable: 2,
  7. quickSearch: 0,
  8. headers: {
  9. 'User-Agent': 'MOBILE_UA',
  10. 'referer': 'https://www.zz123.com/',
  11. },
  12. class_parse: '.aside-menu-list.channel&&[href*=list];a&&Text;a&&href;.(list.*).htm',
  13. play_parse: true,
  14. lazy: $js.toString(() => {
  15. input = input.replace(/play\/(\w+)\.htm/, 'ajax/?act=songinfo&id=$1&lang=');
  16. log(input);
  17. let mp3 = JSON.parse(request(input)).data.mp3;
  18. input = {parse: 0, url: mp3, header: rule.headers};
  19. }),
  20. limit: 6,
  21. // 图片来源:'@Referer=https://www.zz123.com/',
  22. 推荐: "*",
  23. 一级: '.mobile-list&&.mobile-list-item;.songname&&Text;.lazyload&&data-src;.authorname&&Text;a&&href',
  24. 二级: '*',
  25. // searchUrl:'/search/?key=**&page=fypage',
  26. // 搜索:'*',
  27. searchUrl: '/ajax/?act=search&key=**&lang=',
  28. detailUrl: '/play/fyid.html',
  29. 搜索: 'json:data;mname;pic;sname;id',
  30. }